#ifndef QALARM_H
#define QALARM_H

#include <QObject>
class QAlarmPrivate;

class QAlarm : public QObject
{
    Q_OBJECT
    Q_CLASSINFO("Author", "Sebastiano Galazzo")
    Q_CLASSINFO("Email", "sebastiano.galazzo@gmail.com")
    Q_DECLARE_PRIVATE(QAlarm)

public:
    explicit QAlarm(QObject *parent = 0);
    virtual ~QAlarm();

    enum Type {
        RepeatDaily
    };

    //int add(QString message, QAlarm::Type type);
    Q_INVOKABLE int add(QString message, int interval);

signals:
    
public slots:

private:
    QAlarmPrivate *d;  //pointer to implementation

//private:    // Friend class definitions
    //friend class QAlarmPrivate;

};

#endif // QALARM_H
